BUG_ON test for xmalloc alignment should not be excluded
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 23 Nov 2005 11:22:58 +0000 (12:22 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 23 Nov 2005 11:22:58 +0000 (12:22 +0100)
for ia64. SMP_CACHE_BYTES should be increased for uniproc
ia64 systems (how many uniproc ia64 boxes are there?!).

Signed-off-by: Keir Fraser <keir@xensource.com>
xen/common/xmalloc.c

index 5c0c02c754969defd351ca7acbcf7e26ddb4bf31..4d74baee703808b673079aab8675b0342bd731b2 100644 (file)
@@ -111,9 +111,7 @@ void *_xmalloc(size_t size, size_t align)
     unsigned long flags;
 
     /* We currently always return cacheline aligned. */
-#ifndef __ia64__
     BUG_ON(align > SMP_CACHE_BYTES);
-#endif
 
     /* Add room for header, pad to align next header. */
     size += sizeof(struct xmalloc_hdr);